/**
 * Desc
 * @description Hope You Do Good But Not Evil
 * @copyright   Copyright 2014-2015 <ycchen@iwshop.cn>
 * @license     LGPL (http://www.gnu.org/licenses/lgpl.html)
 * @author      Chenyong Cai <ycchen@iwshop.cn>
 * @package     Wshop
 * @link        http://www.iwshop.cn
*/
@import "base_class.less";
@import "base_form.less";
@import "base_topnav.less";

.uc-headwrap {
	padding: 40px 0;
	height: 85pt;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	// background: #0BB20C;
}

.uc-head {
	padding: 0 20px;
	margin: 0 auto;
	img {
		width: 70px;
		height: 70px;
		display: block;
		border-radius: 45px;
	}
	.headwrap {
		float: left;
		width: 70px;
		height: 70px;
		display: block;
		padding: 2px;
		border-radius: 45px;
		background: rgba(255, 255, 255, .3);
		margin: 0 auto;
	}
	.uc-name, .uc-addr {
		font-size: 14px;
		display: block;
		text-align: left;
		line-height: 30px;
		color: #FFF;
		font-weight: lighter;
		margin-left: 90px;
	}
	.uc-name {
		font-size: 15px;
		padding-top: 7px;
	}
}

// 用户中心按钮
.uc-section {
	position: relative;
	color: #444;
	padding-left: 50px;
	line-height: 50px;
	font-size: 14px;
	margin-top: 15px;
	&:before{
		.borderTop();
	}
	border-bottom: 1px solid #eee;
	background: url(../images/icon_bar-right.png) 97.5% center no-repeat #FEFEFE;
	background-size: 8px;
	display: block;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	i {
		position: absolute;
		left: 18px;
		top: 12px;
		height: 25px;
		background-image: url(../images/icon/iconfont-shoucang.png?v=1);
		background-repeat: no-repeat;
		background-size: 25px;
		background-position: center;
		width: 25px;
		height: 25px;
	}
}

.uc-section-count {
	font-size: 12px;
	padding-left: 4px;
	color: #900;
}

#uc-orderlist .price, #uc-orderlist .count, #uc-orderlist .title, .exp-item-info .price, .exp-item-info .count, .exp-item-info .title {
	display: block;
	font-size: 12px;
	line-height: 22px;
	color: #777;
	text-overflow: ellipsis;
}

#uc-orderlist .title, .exp-item-info .title {
	color: #222;
	font-size: 13px;
	overflow: hidden;
	line-height: 21px;
}

.exp-item-info {
	.spec {
		color: #222;
		line-height: 22px;
		display: block;
		font-size: 12px;
		padding-top: 2px;
	}
}

.ucoi-pic {
	float: left;
	width: 60px;
	border: 1px solid #eee;
}

.ucoi-con {
	margin-left: 70px;
}

.uc-summary {
	position: relative;
	border-top: 1px solid #eee;
	padding: 4px 8px;
	.sum {
		position: absolute;
		left: 7px;
		top: 8px;
		font-size: 12px;
		line-height: 24px;
	}
}

.uc-summary .olbtn {
	background: #fff;
	display: inline-block;
	font-size: 12px;
	margin-left: 5px;
	border-radius: 12px;
	height: 18px;
	line-height: 18px;
	padding: 2px 8px;
	color: #FFF;
	border: 1px solid transparent;
	float: right;
}

.uc-summary .express, .uc-summary .comment {
	border-color: #ff9000;
	color: #ff9000;
}

.uc-summary .wepay {
	border-color: #3fae38;
	color: #3fae38;
}

.uc-summary .cancel {
	border-color: #888;
	color: #888;
}

.uc-orderitem, .exp-item-info {
	margin-top: 10px;
	background: #FEFEFE;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.uc-orderitem .items, .exp-item-info .items {
	padding: 6px 8px;
	margin-bottom: -1px;
	cursor: pointer;
	padding-top: 12px;
	border-bottom: 1px solid #eee;
	&:last-child {
		border: none;
	}
}

.exp-item-info .items {
	padding-left: 0;
	padding-bottom: 10px;
}

.uc-orderitem .items:last-child {
	margin-bottom: 0;
}

.exp-item-info .od-name {
	float: left;
	line-height: 25px;
}

.exp-item-info .od-tel {
	padding-left: 5px;
	float: left;
	line-height: 25px;
}

.exp-item-info .od-address {
	line-height: 25px;
	color: #777;
	font-size: 12px;
}

.exp-item-info .order-status {
	color: #f15353;
	float: left;
}

.exp-item-info .order-id {
	font-size: 12px;
	color: #555;
	float: right;
}

.exp-head #exp-code {
	font-size: 12px;
	color: #555;
}

.exp-payinfo {
	line-height: 25px;
	font-size: 12px;
}

.exp-head {
	margin-top: 10px;
	padding: 10px;
	background: #FEFEFE;
	font-size: 14px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	line-height: 25px;
}

#exp-comname {
	font-size: 14px;
}

.exp-item-info {
	padding: 10px;
}

.exp-item-caption {
	padding-bottom: 9px;
	border-bottom: 1px solid #dedede;
}

.uc-seral {
	border-bottom: 1px solid #eee;
	padding: 6px 8px;
}

.order_serial, .payment_serial, .order_status {
	float: left;
	font-size: 12px;
	color: #555;
	line-height: 25px;
	padding: 0;
	margin: 0;
}

.order_status {
	color: #E4393C;
	float: right;
}

#expressapi-cop {
	font-size: 12px;
	text-align: center;
	color: #444;
	border-top: 1px solid #eee;
	padding-top: 15px;
	margin-top: 15px;
}

#express-dt {
	margin: 0;
	padding: 0;
	margin-left: -3px;
}

#express-dt th {
	display: none;
}

#express-dt tr:first-child {
	display: none;
}

#express-dt tr {
	line-height: 23px;
	color: #444;
}

#express-dt tr td {
	font-size: 12px;
	color: #555;
	vertical-align: top;
}

#express-dt tr td:first-child {
	font-size: 12px;
	white-space: nowrap;
	padding-right: 2px;
}

.spread-item {
	width: 25%;
	display: inline-block;
	float: left;
	padding: 6px 0;
	font-size: 12px;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, .1);
	margin-left: -1px;
	color: #fff;
	i {
		display: block;
		width: 50px;
		height: 0;
		border-bottom: 1px dashed #dedede;
		margin: 3px auto;
		margin-top: 5px;
	}
	b {
		display: block;
		font-size: 14px;
		font-weight: bold;
	}

}

.spread-item:last-child {
	border: none;
	margin-left: 0;
}

@media screen and (max-width: 300px) {
	.spread-item {
		width: 50%;
	}
}

.com-spread-item {
	padding: 10px;
}

.com-spread-item .items {
	padding: 0 !important;
}

.comspreadstat {
	background: rgba(0, 0, 0, 0.3);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.spread-itmb {
	line-height: 36px;
	color: #444;
	display: inline-block;
	float: left;
	height: 37px;
	font-size: 10pt;
}

.com-spread-item .ucoi-pic {
	width: 35px;
}

.com-spread-item .ucoi-con {
	margin-left: 45px;
}

.login-field {
	background: #fff;
	border-top: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
}

.login-icon {
	float: left;
	display: inline-block;
	height: 30px;
	width: 30px;
	background-repeat: no-repeat;
	background-size: 22px;
	background-position: center;
}

.login-icon.email {
	background-image: url(../images/icon/iconfont-ue62bemail_1x.png);
	background-image: -webkit-image-set(url(../images/icon/iconfont-ue62bemail_1x.png) 1x, url(../images/icon/iconfont-ue62bemail_2x.png) 2x);
	background-image: -moz-image-set(url(../images/icon/iconfont-ue62bemail_1x.png) 1x, url(../images/icon/iconfont-ue62bemail_2x.png) 2x);
	background-image: -o-image-set(url(../images/icon/iconfont-ue62bemail_1x.png) 1x, url(../images/icon/iconfont-ue62bemail_2x.png) 2x);
	background-image: -ms-image-set(url(../images/icon/iconfont-ue62bemail_1x.png) 1x, url(../images/icon/iconfont-ue62bemail_2x.png) 2x);
}

.login-icon.address {
	background-image: url(../images/icon/iconfont-address_1x.png);
	background-image: -webkit-image-set(url(../images/icon/iconfont-address_1x.png) 1x, url(../images/icon/iconfont-address_2x.png) 2x);
	background-image: -moz-image-set(url(../images/icon/iconfont-address_1x.png) 1x, url(../images/icon/iconfont-address_2x.png) 2x);
	background-image: -o-image-set(url(../images/icon/iconfont-address_1x.png) 1x, url(../images/icon/iconfont-address_2x.png) 2x);
	background-image: -ms-image-set(url(../images/icon/iconfont-address_1x.png) 1x, url(../images/icon/iconfont-address_2x.png) 2x);
}

.login-icon.name {
	background-image: url(../images/icon/iconfont-iconname_1x.png);
	background-image: -webkit-image-set(url(../images/icon/iconfont-iconname_1x.png) 1x, url(../images/icon/iconfont-iconname_2x.png) 2x);
	background-image: -moz-image-set(url(../images/icon/iconfont-iconname_1x.png) 1x, url(../images/icon/iconfont-iconname_2x.png) 2x);
	background-image: -o-image-set(url(../images/icon/iconfont-iconname_1x.png) 1x, url(../images/icon/iconfont-iconname_2x.png) 2x);
	background-image: -ms-image-set(url(../images/icon/iconfont-iconname_1x.png) 1x, url(../images/icon/iconfont-iconname_2x.png) 2x);
	background-position: center;
	background-position: center;
}

.login-icon-account, .login-icon-password {
	float: left;
	display: inline-block;
	height: 30px;
	width: 30px;
	background-image: url(../images/icon/iconfont-profile_1x.png);
	background-image: -webkit-image-set(url(../images/icon/iconfont-profile_1x.png) 1x, url(../images/icon/iconfont-profile_2x.png) 2x);
	background-image: -moz-image-set(url(../images/icon/iconfont-profile_1x.png) 1x, url(../images/icon/iconfont-profile_2x.png) 2x);
	background-image: -o-image-set(url(../images/icon/iconfont-profile_1x.png) 1x, url(../images/icon/iconfont-profile_2x.png) 2x);
	background-image: -ms-image-set(url(../images/icon/iconfont-profile_1x.png) 1x, url(../images/icon/iconfont-profile_2x.png) 2x);
	background-repeat: no-repeat;
	background-size: 22px;
	background-position: center;
}

.login-icon-password {
	background-image: url(../images/icon/iconfont-lock_1x.png);
	background-image: -webkit-image-set(url(../images/icon/iconfont-lock_1x.png) 1x, url(../images/icon/iconfont-lock_2x.png) 2x);
	background-image: -moz-image-set(url(../images/icon/iconfont-lock_1x.png) 1x, url(../images/icon/iconfont-lock_2x.png) 2x);
	background-image: -o-image-set(url(../images/icon/iconfont-lock_1x.png) 1x, url(../images/icon/iconfont-lock_2x.png) 2x);
	background-image: -ms-image-set(url(../images/icon/iconfont-lock_1x.png) 1x, url(../images/icon/iconfont-lock_2x.png) 2x);
}

.login-input {
	margin-left: 35px;
	overflow: hidden;
}

.login-input input {
	line-height: 30px;
	width: 98%;
	border-radius: 0;
	border: transparent;
	color: #555 !important;
}

#login-wrap {
	margin-bottom: 20px;
}

#login-com-wrap {
	text-align: center;
	padding: 0 20px;
	padding-bottom: 10px;
}

.reg-tip {
	color: #555;
	font-size: 12px;
}

.login-tip {
	color: #555;
	text-align: center;
	padding: 0;
	margin: 0;
	padding-top: 20px;
	font-size: 16px;
	text-shadow: 0 1px 1px #dedede;
}

#addr-select {
}

#addr-add {
	display: none;
	margin: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

#addr-add input {
	color: #666;
	font-size: 14px;
	border: none;
	border-bottom: 1px solid #dedede;
	padding: 10px 8px;
	border-radius: 0;
	margin-top: 2px;
}

#addr-add textarea {
	color: #666;
	font-size: 14px;
	border-radius: 0;
	width: 100%;
	padding: 10px 8px;
	border: none;
	margin: 0;
	border-bottom: 1px solid #dedede;
}

.field-ttip {
	color: #555;
	font-size: 12px;
	margin: 5px;
	margin-top: 20px;
}

.field-ttip b {
	color: #E4393C;
	font-weight: normal;
}

.uc-order-sec {
	background: #fff;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
	padding-top: 3px;
	padding-bottom: 7px;
}

.uc-order-btn {
	position: relative;
	padding-top: 4px;
	color: #555;
	font-size: 12px;
	text-align: center;
	display: block;
	float: left;
	width: 20%;
	outline: none
}

.uc-order-btn i {
	background-image: url(../images/icon/iconfont-tubiao27.png);
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: center;
	width: 30px;
	height: 30px;
	content: '\20';
	display: block;
	margin: 0 auto 2px auto;
}

.uc-order-btn b {
	min-width: 16px;
	line-height: 16px;
    padding: 0 2px;
	text-align: center;
	height: 16px;
	font-weight: normal;
	position: absolute;
	top: 2px;
	right: 13px;
	background: #e4393c;
	color: #fff;
	border-radius: 10px;
}

.uc-order-btn.fahuo i {
	background-image: url(../images/icon/iconfont-daifahuo.png);
}

.uc-order-btn.shouhuo i {
	background-image: url(../images/icon/iconfont-shouhuodizhi.png);
}

.uc-order-btn.pinjia i {
	background-image: url(../images/icon/iconfont-tubiao29.png);
}

.uc-order-btn.tuikuan i {
	background-image: url(../images/icon/iconfont-tuihuobaozhang.png);
}

.uc-section b {
	font-weight: normal;
	font-size: 12px;
	position: absolute;
	top: 0px;
	right: 35px;
	color: #aaa;
}

.uc-section i {
	&.dingdan {
		background-image: url(../images/navs/iconfont-order.png);
	}
	&.hezuo {
		background-image: url(../images/icon/iconfont-cooperation.png?v=1);
		background-size: 20px;
	}
	&.qrcode {
		background-image: url(../images/icon/iconfont-erweima.png?v=1);
		background-size: 16px;
	}
	&.credit {
		background-image: url(../images/icon/iconfont-credit.png?v=1);
		background-size: 19px;
	}
}

.uc-order-sort {
	float: left;
	width: 20%;
}

#uc-order-sort-bar {
	background: #fff;
	border-bottom: 1px solid #eee;
	margin-top: 1px;
}

.uc-order-sort {
	text-align: center;
}

.uc-order-sort b {
	padding-top: 2px;
	margin: 0 auto;
	display: inline-block;
	line-height: 35px;
	font-weight: normal;
	border-bottom: 2px solid #fff;
}

.uc-order-sort.hover b {
	border-bottom: 2px solid #56abe4;
}

.emptyTip {
	color: #666;
	text-align: center;
	line-height: 200px;
}

.productIW {
	position: relative;
	border: 1px solid #eee;
	background-color: #FFF;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.envs {
	padding: 10px 10px;
	border-left: 2px solid #ff5500;
}

.dprice {
	color: #E4393C;
}

#odcomment {
	padding: 10px;
	.backG();
	.pdimg {
		float: left;
		display: block;
		border: 1px solid #eee;
		margin-right: 10px;
	}
	#starlist {
		padding-top: 12px;
		.starItem {
			float: left;
			display: block;
			height: 32px;
			width: 32px;
			background: url(../images/icon/iconfont-star-64x.jpg) center;
			background-image: -webkit-image-set(url(../images/icon/iconfont-star-32x.jpg) 1x, url(../images/icon/iconfont-star-64x.jpg) 2x);
			background-size: 32px;
			&.fill {
				background: url(../images/icon/iconfont-star-fill-64x.jpg) center;
				background-image: -webkit-image-set(url(../images/icon/iconfont-star-fill-32x.jpg) 1x, url(../images/icon/iconfont-star-fill-64x.jpg) 2x);
			}
		}
	}
	#commentField {
		padding-top: 10px;
		margin-top: 14px;
		border-top: 1px solid #eee;
		textarea {
			width: 100%;
			border: none;
			font-family: @baseFontFamily;
			font-size: 14px;
			height: 6em;
			outline: none;
		}
	}
}

#odbuttons {
	.backG();
	border-top: 1px solid #dedede;
	padding: 10px;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	.btn {
		display: block;
		color: #fff;
		text-align: center;
		background: #f15353;
		border-radius: 3px;
		padding: 7px 0;
		font-size: 16px;
	}
}

#wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, .6);
	z-index: 1000;
	img {
		display: block;
		width: 250px;
		max-width: 88%;
		margin: 0 auto;
		margin-top: -500px;
	}
	p {
		text-align: center;
		line-height: 33px;
		margin: 0 auto;
		padding: 0;
		color: #fff;
		width: 210px;
		max-width: 88%;
		margin-top: 15px;
		background: @colorBase;
		border-radius: 30px;
	}
	.close {
		display: block;
		position: fixed;
		right: 0;
		top: 0;
		width: 35px;
		height: 35px;
		background: url(../images/icon/iconfont-close.png) 10px 5px no-repeat;
		background-size: 20px;
		background-color: #eb4f38;
		border-bottom-left-radius: 30px;
	}
}

.productListWrap {
	.credit-amount {
		color: #e4393c;
		font-size: 12px;
		display: block;
		text-align: center;
		border-top: 1px solid #eee;
		padding-top: 5px;
		margin-top: 3px;
	}
}
